﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BobDotNet.Classes
{
    public class Societe
    {
        public const string NomClasse = "BobDotNet.Classes.Societe";

        public virtual Int32 Id { get; set; }
        public virtual String Libelle { get; set; }
        public virtual DateTime DateCreation { get; set; }
        public virtual DateTime DateModification { get; set; }

        public virtual List<Object> ObtenirValeurs()
        {
            List<Object> retour = new List<Object>();
            retour.Add(Id);
            retour.Add(Libelle);
            retour.Add(DateCreation.ToString());
            retour.Add(DateModification.ToString());
            return retour;
        }

        public static List<String> ObtenirEntetes()
        {
            List<String> retour = new List<String>();
            retour.Add("Identifiant");
            retour.Add("Libelle");
            retour.Add("DateCreation");
            retour.Add("DateModification");
            return retour;
        }
    }
}
